package com.bilibili.entity;

import io.mybatis.provider.Entity;
import lombok.Data;

import java.util.Date;

@Data
@Entity.Table(value = "user", remark = "用户表")
public class User {
    @Entity.Column(id = true)
    private Long id;
    @Entity.Column("phone")
    private String phone;
    @Entity.Column("email")
    private String email;
    @Entity.Column("password")
    private String password;
    @Entity.Column("salt")
    private String salt;
    @Entity.Column("create_time")
    private Date createTime;
    @Entity.Column("update_time")
    private Date updateTime;

}
